package toman;

/**
 * User: zslajchrt
 * Date: 30.4.11
 * Time: 18:36
 */
public class SimplePhotoTO {
    @Prop("id")
    private int photoId;
    @Prop("name")
    private String photoName;

    private String photoDescription;

    @Prop("description")
    public void setPhotoDescription(String photoDescription) {
        this.photoDescription =
                photoDescription == null || "".equals(photoDescription) ? "N/A" : photoDescription;
    }

    public String getPhotoDescription() {
        return photoDescription;
    }

    public int getPhotoId() {
        return photoId;
    }

    public void setPhotoId(int photoId) {
        this.photoId = photoId;
    }

    public String getPhotoName() {
        return photoName;
    }

    public void setPhotoName(String photoName) {
        this.photoName = photoName;
    }
}
